{extends file="parent.tpl"}
{block name="title"}{$title}{/block}
{block name="head" append}
    <script type="text/javascript" src="js/public_menu.js"></script>
{/block}
{block name="body"}
    <ul id="main_menu">
        <li><a href="index.php?app=main">浏览全部</a></li>
        <li><a href="index.php?app=group">浏览所有分组</a>
            <ul>
                {nocache}
                {foreach $unit as $value}
                <li><a href="index.php?app=group&mid={$value.member_id}">{$value.member_cname}</a></li>
                {/foreach}
                {/nocache}
            </ul>
        </li>
        <li><a href="index.php?app=add">添加成员</a></li>
        <li><a href="index.php?app=albums">个人相册</a></li>
    </ul>
{/block}